﻿#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define ROW 9
#define COL 9
#define ROWS  ROW+2//切记不能用等号
#define COLS  COL+2
#define COUNT 10

void init_board(char board[ROWS][COLS], int rows, int cols,char set);
//初始化
void display_board(char board[ROWS][COLS], int row, int col);
//打印棋盘
void set_mine(char mine[ROWS][COLS], int row, int col);
//布置雷
void find_mine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);
//排查雷